<!DOCTYPE html>
<html>
  <head>
    <title>字典编辑-编辑</title>
 		<#include "fsoft-common.ftl" />
  </head>
  <body>
    <div class="layui-fluid">
      <div class="layui-card">
        <div class="layui-card-body">
			    <form class="layui-form layui-form-pane" id="fsoftForm" lay-filter="fsoftForm" action="" method="post" autocomplete="off">
            <input type="hidden" name="id" id="id" value="${model.id}"/>
	        	<div class="layui-row layui-col-space3">
              <div class="layui-col-sm6 layui-col-xs12">
						    <div class="layui-form-item">
                  <label class="layui-form-label">
                    <span class="x-red">*</span>编 码
                  </label>
                  <div class="layui-input-block">
                    <input type="text" class="layui-input" id="code" name="code" value="${model.code}" lay-verify="required" autocomplete="off">
                  </div>
                </div>
					    </div>
					    <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label class="layui-form-label">
                    <span class="x-red">*</span>名称
                  </label>
                  <div class="layui-input-block">
                    <input type="text" class="layui-input" id="name" name="name" value="${model.name}" lay-verify="required" autocomplete="off">
                  </div>
                </div>
              </div>
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="desc" class="layui-form-label">字典类型</label>
                  <div class="layui-input-block">
                    <select name="dictType" lay-filter="fsoft-dict-type">
                      <option value="1" <#if model.dictType==1>selected</#if> >列表</option>
                      <option value="2" <#if model.dictType==2>selected</#if> >树形</option>
                    </select>
                  </div>
                </div>
              </div>
              <div class="layui-col-sm6 layui-col-xs12">
                <div class="layui-form-item">
                  <label for="f_sortNo" class="layui-form-label">
                    <span class="x-red">*</span>排序
                  </label>
                  <div class="layui-input-block">
                    <input type="text" class="layui-input" name="sortNo" value="${model.sortNo}" lay-verify="number" autocomplete="off">
                  </div>
                </div>
              </div>
	        	</div>
				    <div class="layui-row layui-col-space3" style="margin-top: 25px;">
					    <div class="layui-col-xs2 layui-col-xs-offset10">
						    <button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit lay-filter="save">
							    <i class="fa fa-save" aria-hidden="true" ></i> 保存
						    </button>
              </div>
				    </div>
			    </form>
	      </div>
      </div>
    </div>
  </body>
  <#include "fsoft-common-foot.ftl" />
	<script type="text/javascript" src="${request.contextPath}/static/fsoft-web/dict/sysdict-modify.js?v=202002"></script>
</html>
